﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DTO
{
    [DataContract(IsReference = true)]
    [KnownType(typeof(Position))]
    [KnownType(typeof(AdmUnit))]
    [KnownType(typeof(AdmResponsible))]
    [KnownType(typeof(CategoryBase))]
    [KnownType(typeof(AdmInputLog))]
    [KnownType(typeof(DTOChilds))]
    [KnownType(typeof(Answer))]
    [KnownType(typeof(AdmStatus))]
    [KnownType(typeof(AdmDepartmentType))]
    [KnownType(typeof(AdmJob))]
    [KnownType(typeof(TermBase))]
    [KnownType(typeof(RespondentBase))]
    [KnownType(typeof(RespondentAnswers))]
    public class DTOBase
    {
        [DataMember]
        public StateObject State { get; set; }
    }
}
